motor_com=serial('COM19','BaudRate',9600);
fopen(motor_com);
fprintf(motor_com,'en\n');  %% for MCBL 3006S-RS, T-1A new control box.

while(isStopped(motor_com)>0)
    pause(0.5);
end

disp('Initialization of the motor');
fprintf(motor_com,'enprog\n');
fprintf(motor_com,'jmp2\n');
fclose(motor_com);

disp('Seeking zero position of the motor');
% pause(28);
pause(18); % T-1,20171130

disp('The FB will be released...');
% pause(8);       % important
pause(18); % T-1,20171130